let chren = args.form;
for (let item of chren) {
	let id = item.id;
	lib.dbQueryJsonArray(`SELECT
		q.delivery_order_sn AS deliveryOrderSn,
		q.product_img AS productImg,
		q.product_name AS productName,
		q.sku AS sku,
		q.shop AS shop,
		q.fnsku AS fnsku,
		r.notice_receipt_num AS noticeReceiptNum,
		r.receipt_num AS receiptNum,
		r.no_qc_num AS noQcNum,
		r.tested_quantity AS testedQuantity,
		r.create_user AS createUser,
		r.create_time AS createTime
	FROM
		quality_check_storage q
		LEFT JOIN receipt_product r ON q.receipt_product_id = r.id 
	WHERE
		q.id = ? 
		AND q.del_flag = 0`,id);
}
// chren.forEach(function(item,index,array){
// 	let id = item.id;
// 	lib.dbQueryJsonArray(`SELECT
// 		q.delivery_order_sn AS deliveryOrderSn,
// 		q.product_img AS productImg,
// 		q.product_name AS productName,
// 		q.sku AS sku,
// 		q.shop AS shop,
// 		q.fnsku AS fnsku,
// 		r.notice_receipt_num AS noticeReceiptNum,
// 		r.receipt_num AS receiptNum,
// 		r.no_qc_num AS noQcNum,
// 		r.tested_quantity AS testedQuantity,
// 		r.create_user AS createUser,
// 		r.create_time AS createTime
// 	FROM
// 		quality_check_storage q
// 		LEFT JOIN receipt_product r ON q.receipt_product_id = r.id 
// 	WHERE
// 		q.id = ? 
// 		AND q.del_flag = 0`,id);
// 	})